package com.example.routeplansystem.entity.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ApiModel
@ToString
public class FinalSolution {
    @ApiModelProperty("方案Id") private int finalSolutionId;

    @ApiModelProperty("问题Id") private int questionId;

    @ApiModelProperty("总距离") private double totalDis;

    @ApiModelProperty("该方案属于的算法") private int version;

    @ApiModelProperty("是否为用户导入的方案") private int userChoice;

    @ApiModelProperty("创建时间") private Date createTime;

    @ApiModelProperty("方案状态，0：默认状态，1：正在准备距离矩阵，2：正在计算，3：成功")
    private int statusCode;
}
